package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * test_plan对象 test_plan
 * 
 * @author ruoyi
 * @date 2022-10-07
 */
public class TestPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测试计划id */
    @Excel(name = "测试计划id")
    private Long planId;

    /** 测试计划名称 */
    @Excel(name = "测试计划名称")
    private String planName;

    /** 测试项目id */
    @Excel(name = "测试项目id")
    private Long itemId;

    /** 测试项目名称 */
    private String itemName = null;

    /** 测试计划日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "测试计划日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planDate;

    /** 测试计划版本 */
    @Excel(name = "测试计划版本")
    private String planEdition;

    /** 测试计划目标 */
    @Excel(name = "测试计划目标")
    private String planTarget;

    /** 测试计划范围 */
    @Excel(name = "测试计划范围")
    private String planRange;

    /** 测试计划方法 */
    @Excel(name = "测试计划方法")
    private String planMethod;

    /** 其他 */
    @Excel(name = "其他")
    private String planOther;

    /** test_case信息 */
    private List<TestCase> testCaseList;

    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }

    public void setPlanDate(Date planDate) 
    {
        this.planDate = planDate;
    }

    public Date getPlanDate() 
    {
        return planDate;
    }
    public void setPlanEdition(String planEdition) 
    {
        this.planEdition = planEdition;
    }

    public String getPlanEdition() 
    {
        return planEdition;
    }
    public void setPlanTarget(String planTarget) 
    {
        this.planTarget = planTarget;
    }

    public String getPlanTarget() 
    {
        return planTarget;
    }
    public void setPlanRange(String planRange) 
    {
        this.planRange = planRange;
    }

    public String getPlanRange() 
    {
        return planRange;
    }
    public void setPlanMethod(String planMethod) 
    {
        this.planMethod = planMethod;
    }

    public String getPlanMethod() 
    {
        return planMethod;
    }
    public void setPlanOther(String planOther) 
    {
        this.planOther = planOther;
    }

    public String getPlanOther() 
    {
        return planOther;
    }

    public List<TestCase> getTestCaseList()
    {
        return testCaseList;
    }

    public void setTestCaseList(List<TestCase> testCaseList)
    {
        this.testCaseList = testCaseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("planName", getPlanName())
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("planDate", getPlanDate())
            .append("planEdition", getPlanEdition())
            .append("planTarget", getPlanTarget())
            .append("planRange", getPlanRange())
            .append("planMethod", getPlanMethod())
            .append("planOther", getPlanOther())
            .append("testCaseList", getTestCaseList())
            .toString();
    }
}
